package com.wu.advapplication;

import java.util.List;

public class PrintBean {

    /**
     * code : 200
     * msg : 刷新成功
     * data : {"row":[{"id":68971,"device":null,"vendor":null,"idVendor":"06bc","idProduct":"0315","product":"USB Device","port":1,"drivce_name":"OKI C941(PCL6)","driver_name":"OKI C941(PCL6)","MDL":"C941","isPrinter":1}],"total":1}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * row : [{"id":68971,"device":null,"vendor":null,"idVendor":"06bc","idProduct":"0315","product":"USB Device","port":1,"drivce_name":"OKI C941(PCL6)","driver_name":"OKI C941(PCL6)","MDL":"C941","isPrinter":1}]
         * total : 1
         */

        private int total;
        private List<RowBean> row;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowBean> getRow() {
            return row;
        }

        public void setRow(List<RowBean> row) {
            this.row = row;
        }

        public static class RowBean {
            /**
             * id : 68971
             * device : null
             * vendor : null
             * idVendor : 06bc
             * idProduct : 0315
             * product : USB Device
             * port : 1
             * drivce_name : OKI C941(PCL6)
             * driver_name : OKI C941(PCL6)
             * MDL : C941
             * isPrinter : 1
             */

            private int id;
            private Object device;
            private Object vendor;
            private String idVendor;
            private String idProduct;
            private String product;
            private int port;
            private String drivce_name;
            private String driver_name;
            private String MDL;
            private int isPrinter;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public Object getDevice() {
                return device;
            }

            public void setDevice(Object device) {
                this.device = device;
            }

            public Object getVendor() {
                return vendor;
            }

            public void setVendor(Object vendor) {
                this.vendor = vendor;
            }

            public String getIdVendor() {
                return idVendor;
            }

            public void setIdVendor(String idVendor) {
                this.idVendor = idVendor;
            }

            public String getIdProduct() {
                return idProduct;
            }

            public void setIdProduct(String idProduct) {
                this.idProduct = idProduct;
            }

            public String getProduct() {
                return product;
            }

            public void setProduct(String product) {
                this.product = product;
            }

            public int getPort() {
                return port;
            }

            public void setPort(int port) {
                this.port = port;
            }

            public String getDrivce_name() {
                return drivce_name;
            }

            public void setDrivce_name(String drivce_name) {
                this.drivce_name = drivce_name;
            }

            public String getDriver_name() {
                return driver_name;
            }

            public void setDriver_name(String driver_name) {
                this.driver_name = driver_name;
            }

            public String getMDL() {
                return MDL;
            }

            public void setMDL(String MDL) {
                this.MDL = MDL;
            }

            public int getIsPrinter() {
                return isPrinter;
            }

            public void setIsPrinter(int isPrinter) {
                this.isPrinter = isPrinter;
            }
        }
    }
}
